package com.bt.mes.query.web.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.bt.mes.query.web.service.ISendMessageService;

@Controller
public class SendMessageController {
	@Resource
	private ISendMessageService sendMessageServiceImpl;

	@RequestMapping("sendMsg.do")
	@ResponseBody
	public String sendMessage(String strInMsg) {
		String message = sendMessageServiceImpl.sendMesage(strInMsg);
		return message;
	}
}
